using UnityEngine;
using System.Collections;

public class Bala : MonoBehaviour 
{
	
	// Use this for initialization
	void Start () 
	{
		//rigidbody.velocity = transform.TransformDirection(new Vector3(0,0,1));
	}
	
	// Update is called once per frame
	void Update () 
	{		
		//transform.Translate(0,0,1f);
	}
	
	void OnTriggerEnter (Collider other)
	{
		if (other.tag == "Enemy")
		{			
			Destroy(other.gameObject);			
		}
	}
}
